package com.suneee.store.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.suneee.orm.GenericDao;
import com.suneee.store.dao.ViewNoStockRecordSkuDao;
import com.suneee.store.entity.ViewNoStockRecordSku;

@Repository("viewNoStockRecordSkuDao")
public class ViewNoStockRecordSkuDaoImpl extends GenericDao<ViewNoStockRecordSku, Integer>implements ViewNoStockRecordSkuDao {

	@Override
	public List<ViewNoStockRecordSku> listView(String enterpriseCode) {
		// TODO Auto-generated method stub
		String sql = "select * from v_no_stock_record_sku where enterprise_code = ?";
		return this.executeQuery(sql, enterpriseCode);
	}


}
